package cn.xxc.user.service;

import cn.xxc.basic.dto.LoginDto;
import cn.xxc.basic.service.BaseService;
import cn.xxc.basic.util.AjaxResult;
import cn.xxc.user.domain.Logininfo;

import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author xxc
 * @since 2022-11-05
 */
public interface ILogininfoService extends BaseService<Logininfo> {
    Map<String, Object> accountLogin(LoginDto loginDto);

    AjaxResult wechatLogin(String code);

    AjaxResult binder(Map<String, String> map);
}
